INT_TYPE=0
STRING_TYPE=1
BOOL_TYPE=2

COMMONS = {
	INT_TYPE=>['item_id', 'buy_price', 'sell_price'],
	STRING_TYPE=>['chiness_name', 'japaness_name']}

ITEMS = {
	'weapon'=>{
		INT_TYPE=>['weapon_id', 'type', 'attack', 'absorb_mp', 'agility', 'attack_magic', 'recover_magic', 'critical',
			'range',
			'beast', 'dragon', 'bug', 'bird', 'plant', 'matter',
			'machine', 'zombie', 'devil', 'element', 'kaijin', 'metal', 'water',
			'rarity', 'beauty'],
		BOOL_TYPE=>['fire', 'ice', 'air', 'lighting', 'earth', 'unblockable', 'low_chage',
			'sleep', 'dead', 'confuse', 'poison', 'paralysis', 'low_attack', 'low_defence',
			'double_attack', 'first_attack', 'imprecate', 'hp_recover',
			'warrior', 'priest', 'mage', 'fighter', 'robber', 'artist',
			'battle_master', 'paladin', 'mage_warrior', 'ranger', 'philosopher', 'superstar'],
		STRING_TYPE=>['use', 'obtain', 'memo']},
	'armor'=>{
		INT_TYPE=>['armor_id', 'type', 'part', 'defence', 'agility', 'attack_magic', 'recover_magic',
			'fire', 'ice', 'air', 'lighting', 'earth', 'dark', 'shadow', 'holy',
			'illusion', 'sleep', 'dead', 'absorbMp', 'confuse', 'banMagic', 'stop',
			'poison', 'paralysis', 'lowAttack', 'lowDefence',
			'rarity', 'beauty'],
		BOOL_TYPE=>['boy', 'girl',
			'warrior', 'priest', 'mage', 'fighter', 'robber', 'artist',
			'battle_master', 'paladin', 'mage_warrior', 'ranger', 'philosopher', 'superstar',
			'hp_recover_walk', 'mp_recover_walk', 'hp_recover_battle',
			'return_attack', 'return_magic', 'absorb_mp',
			'inc_exp', 'walk_safe'],
		STRING_TYPE=>['use', 'obtain', 'memo']},
	'accessory'=>{
		INT_TYPE=>['accessory_id', 'attack', 'defence', 'agility', 'kiyoo', 'attack_magic', 'recover_magic', 'max_mp',
			'rarity', 'beauty'],
		BOOL_TYPE=>['hp_recover', 'inc_stole_rate', 'wear_all_sex'],
		STRING_TYPE=>['use', 'obtain', 'memo']},
	'good'=>{
		INT_TYPE=>['good_id', 'rarity'],
		BOOL_TYPE=>['to_enemy', 'to_all', 'heal', 'heal_mp',
			'revive', 'poison', 'paralysis', 'confuse', 'sleep'],
		STRING_TYPE=>['use', 'obtain']},
	'material'=>{INT_TYPE=>['material_id'], STRING_TYPE=>['obtain', 'alchemy']}
}
